package com.itheima.mapper;

import com.itheima.pojo.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper {

    /**
     * 根据角色id查询权限列表
     * @param roleIds
     * @return
     */
    List<Permission> selectByRoleIds(List<Integer> roleIds);
}
